package com.viettel.core.dao.cms;

import java.util.List;

import com.viettel.core.entities.cms.District;
import com.viettel.core.entities.cms.Province;
import com.viettel.core.entities.cms.Ward;
import com.viettel.core.exceptions.DataAccessException;

public interface ProvinceDAO {
	
	public List<Province> getAllProvinces() throws DataAccessException;
	
	public List<District> getListDistrictByProvince(Integer provinceId)	throws DataAccessException;
	
	public Province getProvinceById(Integer id) throws DataAccessException;
	
	public District getDistrictById(Integer id) throws DataAccessException;
	
	public List<Ward> getListWardByDistrict(Integer districtId)	throws DataAccessException;
	
	public Ward getWardById(Integer id) throws DataAccessException;
	
	
}
